<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

<script type="text/javascript" src="${pageContext.request.contextPath}/resources/componentes/spinner/js/spinner.js"></script>
	
	<script type="text/javascript">

	var json = "";

	 //-- --------------------------------------- Cuture ------------------------------- -->
	 
	  <c:if test="${not empty culture}">
	  
	  	var culture= "${culture}";
	   	json = $.extend(json,{"culture":culture}); 
	   	
	  </c:if>

	  //-- --------------------------------------- disabled ----------------------------- -->

	  <c:if test="${not empty disabled}">
	  
	  	var disabled= "${disabled}";
	   	json = $.extend(json,{"disabled":disabled}); 
	   	
	  </c:if>

	  //-- --------------------------------------- incremental --------------------------- -->

	  <c:if test="${not empty incremental}">
	  
	  	var incremental= "${incremental}";
	   	json = $.extend(json,{"incremental":incremental}); 
	   	
	  </c:if>

	  //-- --------------------------------------- max ------------------------------------ -->

	  <c:if test="${not empty max}">
	  
	  	var max= "${max}";
	   	json = $.extend(json,{"max":max}); 
	   	
	  </c:if>

	  //-- --------------------------------------- min ------------------------------------- -->

	  <c:if test="${not empty min}">
	  
	  	var min= "${min}";
	   	json = $.extend(json,{"min":min}); 
	   	
	  </c:if>

	  //-- ------------------------------- numberFormat ------------------------------------- -->

	  <c:if test="${not empty numberFormat}">
	  
	  	var numberFormat= "${numberFormat}";
	   	json = $.extend(json,{"numberFormat":numberFormat}); 
	   	
	  </c:if>

	  //-- --------------------------------------- page --------------------------------------- -->

	  <c:if test="${not empty page}">
	  
	  	var page= "${page}";
	   	json = $.extend(json,{"page":page}); 
	   	
	  </c:if>

	  //-- --------------------------------------- step --------------------------------------- -->

	  <c:if test="${not empty step}">
	  
	  	var step= "${step}";
	   	json = $.extend(json,{"step":step}); 
	   	
	  </c:if>

	//-- --------------------------------------- Metodos ------------------------------------- -->
	  
	  spinner.gerarSpinner("##{form}\\:#{id}", json);

	</script>


</body>
</html>